/*
Realistic Unit Modification v4.0 Dialog 
v4.0.0.1 [ALPHA]
Concept & Development by Draper & Raps | [VRC]
*/

/*
spawned vehicle in RUM_Settings would get this config added to the vehicle
 - null = [this, "Sniper"] call compile preprocessFile "cScripts\ACE-CrateLoadOuts.sqf";

Case IDs:  Basic, Custom1, Custom2
*/
private ["_vehicle","_strLoadout"];

_vehicle = _this select 0;
_strLoadout = _this select 1;
 
switch (_strLoadout) do { 
	case "Basic": { //removed weapons and cargo
		clearMagazineCargo _vehicle;
		clearWeaponCargo _vehicle;
	};
	case "Custom1": {
		_vehicle addaction ["this is a init addon",("")];
	};
	case "Custom2": {
	
	};
};
 